package org.cug.uav.gcs.ui;

public class MyBinding {
	public double altitude;
	public double currentAltitude;
	public double speed;
	public int currentPoint;
	public int pointNumber;
	public String point;
	public double stayTime;
	public int distanceToTarget;
	public int distanceToHome;
	public double angleToTarget;
	public double angleToHome;
	public String time;
	public double electricQuantity;
	public String link;
	public String mode;

	public MyBinding() {
		altitude = -1;
		currentAltitude = -1;
		speed = -1;
		currentPoint = -1;
		pointNumber = -1;
		point = String.valueOf(currentPoint) + "/"
				+ String.valueOf(pointNumber);
		stayTime = -1;
		distanceToTarget = -1;
		distanceToHome = -1;
		angleToTarget = 0;
		angleToHome = 0;
		electricQuantity = -1;
		time = "?";
		link = "?";
		mode = "?";
	}

	public String getMode() {
		return mode;
	}

	public void setMode(String mode) {
		this.mode = mode;
	}

	public double getElectricQuantity() {
		return electricQuantity;
	}

	public void setElectricQuantity(double electricQuantity) {
		this.electricQuantity = electricQuantity;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public void setAngleToTarget(double angleToTarget) {
		this.angleToTarget = angleToTarget;
	}

	public void setAngleToHome(double angleToHome) {
		this.angleToHome = angleToHome;
	}

	public double getAngleToTarget() {
		return angleToTarget;
	}

	public void setAngleToTarget(int angleToTarget) {
		this.angleToTarget = angleToTarget;
	}

	public double getAngleToHome() {
		return angleToHome;
	}

	public void setAngleToHome(int angleToHome) {
		this.angleToHome = angleToHome;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public double getAltitude() {
		return altitude;
	}

	public void setAltitude(double altitude) {
		this.altitude = altitude;
	}

	public double getCurrentAltitude() {
		return currentAltitude;
	}

	public void setCurrentAltitude(double currentAltitude) {
		this.currentAltitude = currentAltitude;
	}

	public double getSpeed() {
		return speed;
	}

	public void setSpeed(double speed) {
		this.speed = speed;
	}

	public int getCurrentPoint() {
		return currentPoint;
	}

	public void setCurrentPoint(int currentPoint) {
		this.currentPoint = currentPoint;
	}

	public int getPointNumber() {
		return pointNumber;
	}

	public void setPointNumber(int pointNumber) {
		this.pointNumber = pointNumber;
	}

	public String getPoint() {
		return point;
	}

	public void setPoint(String point) {
		this.point = point;
	}

	public double getStayTime() {
		return stayTime;
	}

	public void setStayTime(double stayTime) {
		this.stayTime = stayTime;
	}

	public int getDistanceToTarget() {
		return distanceToTarget;
	}

	public void setDistanceToTarget(int distanceToTarget) {
		this.distanceToTarget = distanceToTarget;
	}

	public int getDistanceToHome() {
		return distanceToHome;
	}

	public void setDistanceToHome(int distanceToHome) {
		this.distanceToHome = distanceToHome;
	}
}